/*模板组件*/
yjx.directive('clientRelationship', [function () {
    /*关系树*/
    return {
        restrict: 'E',
        templateUrl: 'components/client/clientRelationships/cRelationship.html'
    }
}])
yjx.directive('clientCall', [function () {
    /*推荐话术*/
    return {
        restrict: 'E',
        templateUrl: 'components/client/clientDetail/clientCall.html'
    }
}])
yjx.directive('clientArticle', [function () {
    /*推荐文章*/
    return {
        restrict: 'E',
        templateUrl: 'components/client/clientDetail/clientArticle.html'
    }
}])
yjx.directive('clientProduct', [function () {
    /*推荐产品*/
    return {
        restrict: 'E',
        templateUrl: 'components/client/clientDetail/clientProduct.html'
    }
}])
yjx.directive('clientService', [function () {
    /*健康服务*/
    return {
        restrict: 'E',
        templateUrl: 'components/client/clientDetail/clientService.html'
    }
}])
yjx.directive('clientPlan', [function () {
    /*产品计划*/
    return {
        restrict: 'E',
        templateUrl: 'components/client/clientDetail/clientPlan.html'
    }
}])
yjx.directive('clientOrdered', [function () {
    /*已购买*/
    return {
        restrict: 'E',
        templateUrl: 'components/client/clientDetail/clientOrdered.html'
    }
}])
yjx.directive('clientReport', [function () {
    /*产品检测报告*/
    return {
        restrict: 'E',
        templateUrl: 'components/client/clientDetail/clientReport.html'
    }
}])
yjx.directive('productItem', function () {
    /*单项产品*/
    return {
        restrict: 'E',
        templateUrl: 'components/product/productItem.html'
    }
})
yjx.directive('productItem2', function () {
    /*单项产品*/
    return {
        restrict: 'E',
        templateUrl: 'components/product/productItem2.html'
    }
})
yjx.directive('commentItem', function () {
    /**单项评论 */
    return {
        restrict: 'E',
        templateUrl: 'components/comment/commentItem.html'
    }
})
yjx.directive('clientItem', function () {
    /**单项客户 */
    return {
        restrict: 'E',
        templateUrl: 'components/client/clientItem.html'
    }
})
yjx.directive('supportItem', function () {
    /**单项支持 */
    return {
        restrict: 'E',
        templateUrl: 'components/support/supportItem.html'
    }
})
yjx.directive('couponItem', function () {
    /**单项优惠劵 */
    return {
        restrict: 'E',
        templateUrl: 'components/user/coupon/couponItem.html'
    }
})
yjx.directive('orderItem', function () {
    /**单项订单 */
    return {
        restrict: 'E',
        templateUrl: 'components/order/orderItem.html'
    }
})




/**复用模板 */
yjx.directive('pageLoading', [function () {
    return {
        restrict: 'E',
        templateUrl: 'components/common/layout/pageLoading.html'
    }
}])
yjx.directive('navTab', [function () {
    return {
        restrict: 'E',
        templateUrl: 'components/navTab/navTab.html',
    }
}])
yjx.directive('navTab2', [function () {
    return {
        restrict: 'E',
        templateUrl: 'components/navTab/navTab2.html',
    }
}])